package cn.south.campus.business.model.entity;

import cn.south.campus.business.model.enums.ExpressTakeEnums;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 快递代取申请
 * </p>
 *
 * @author chow
 * @since 2024-12-13
 */
@TableName("campus_express_apply")
@Data
public class ExpressApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    private Long userId;

    @TableField(exist = false)
    private String nickname;

    @TableField(exist = false)
    private String avatar;

    @TableField(exist = false)
    private String phone;

    @TableField(exist = false)
    private String gender;

    /**
     * 代取快递id
     */
    private Long expressTakeId;

    private Long publisher;

    /**
     * 申请状态
     * @see ExpressTakeEnums.TakeApplyStatus
     */
    private Integer status;

    /**
     * 申请时间
     */
    private LocalDateTime applyTime;

}
